projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012f44f
)
(x_focus_changed): If we get a focusout and pointer
author
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 4 Sep 2009 05:33:13 +0000
(
05:33
+0000)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Fri, 4 Sep 2009 05:33:13 +0000
(
05:33
+0000)
is invisible, make it visible.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 1e13ae8858b71685d9119c15fccbeb6c3d980861..a2af7894cc20af82cd0dc00bed84d5543e24d557 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-3139,6
+3139,7
@@
XTtoggle_invisible_pointer (f, invisible)
else
XDefineCursor (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
f->output_data.x->current_cursor);
+ f->pointer_invisible = invisible;
UNBLOCK_INPUT;
}
@@
-3372,6
+3373,8
@@
x_focus_changed (type, state, dpyinfo, frame, bufp)
if (FRAME_XIC (frame))
XUnsetICFocus (FRAME_XIC (frame));
#endif
+ if (frame->pointer_invisible)
+ XTtoggle_invisible_pointer (frame, 0);
}
}